package com.cardmanager.pro.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import com.cardmanager.pro.pojo.CreditCardManagerConfig;
@Repository
public interface CreditCardManagerConfigRepository extends JpaRepository<CreditCardManagerConfig, Long>,JpaSpecificationExecutor<CreditCardManagerConfig>{

	CreditCardManagerConfig findByChannelType(String channelType);

	List<CreditCardManagerConfig> findByBrandId(String brandId);

	CreditCardManagerConfig findByBrandIdAndChannelType(String brandId, String channelType);

}
